home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Collector 8 - Disc 3
/
COLLECT8 (Track 1).bin
/
deus
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1996-05-14
|
2KB
|
120 lines
@echo off
if "%1"=="" goto Erreur
if "%2"=="" goto Erreur
@%1
@cd %1\
@cd %2\
:deb
Cls
echo
echo ╔════════╗
echo ║ DEUS ║
echo ╚════════╝
echo
echo (C) Copyright Silmarils 1996
echo
echo Select the configuration to install
echo
echo (1) Minimum ( 6 Mb)
echo (2) Maximum (40 Mb)
echo
echo (X) Exit
echo
choice /C12X /N " Your Choice : "
@cls
IF ERRORLEVEL 3 GOTO fin
IF ERRORLEVEL 2 GOTO choix2
IF ERRORLEVEL 1 GOTO choix1
goto deb
rem --------------------------------------------------------------------------
rem Maximum
rem --------------------------------------------------------------------------
:choix2
Cls
if exist %2\deus\start.exe goto dinst1
md %2\deus >nul
goto iok1
:dinst1
echo
echo Deus already installed,
choice /CYN /N "continue installation (Y/N) : "
IF ERRORLEVEL 2 GOTO fin
:iok1
echo
echo please wait, installation in progress...
copy start.exe %2\deus >nul
copy save.dat %2\deus >nul
copy *.io %2\deus >nul
copy *.to %2\deus >nul
@%2
@cd %2\deus
goto ok
rem --------------------------------------------------------------------------
rem Minimum
rem --------------------------------------------------------------------------
:choix1
Cls
if exist %2\deus\start.exe goto dinst2
md %2\deus >nul
goto iok2
:dinst2
echo
echo Deus already installed,
choice /CYN /N "continue installation (Y/N) : "
IF ERRORLEVEL 2 GOTO fin
:iok2
echo
echo please wait, installation in progress...
copy start.exe %2\deus >nul
copy save.dat %2\deus >nul
copy main.io %2\deus >nul
copy a_arc.io %2\deus >nul
copy a_cout.io %2\deus >nul
copy a_gun.io %2\deus >nul
copy a_hach.io %2\deus >nul
copy a_lance.io %2\deus >nul
copy a_laser.io %2\deus >nul
copy a_mitr.io %2\deus >nul
copy a_plasm.io %2\deus >nul
copy a_poing.io %2\deus >nul
copy b_gun.io %2\deus >nul
copy b_hach.io %2\deus >nul
copy b_mitr.io %2\deus >nul
copy b_mitr.io %2\deus >nul
copy c_gun.io %2\deus >nul
copy c_hach.io %2\deus >nul
@%2
@cd %2\deus
goto ok
:Erreur
echo
echo *** Procedure Interrupted - Installation Failed ***
echo Install Source_Drive Destination_Drive
echo ex: INSTALL D: C:
goto fin
:ok
echo
echo *** Installation finished ***
echo To play, type START from your Hard drive
:fin
echo